import axios from 'axios';
const instance = axios.create({
    timeout: 20000
})
instance.interceptors.request.use(config => {
    return config;
}, err => {
    return Promise.reject(err);
})
instance.interceptors.response.use(config => {
    return config.data;
},err => {
    return Promise.reject(err);
})
export default instance;